﻿using System.ComponentModel.DataAnnotations;

namespace Viettel.VOFFICE.Web.Models
{
    public class LogOnModel
    {
        [Display(ResourceType = typeof(Resources.Resources), Name = "LogOnUserNameLabel")]
        [Required(ErrorMessageResourceType = typeof(Resources.Resources), ErrorMessageResourceName = "LogOnRequiredUserName")]
        public string UserName { get; set; }

        [Display(ResourceType = typeof(Resources.Resources), Name = "LogOnPasswordLabel")]
        [Required(ErrorMessageResourceType = typeof(Resources.Resources), ErrorMessageResourceName = "LogOnRequiredPassword")]
        public string Password { get; set; }

        [Display(ResourceType = typeof(Resources.Resources), Name = "LogOnRememberLabel")]
        public bool RememberMe { get; set; }
    }
}